home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 045a / nutil5.zip / NET.BAT < prev    next >
DOS Batch File  |  1991-07-27  |  1KB  |  63 lines

  1. @echo off
  2. cls
  3. c:
  4. cd \net
  5. ipx
  6.  
  7. ndosver
  8. if errorlevel 5 goto DOS5
  9. if errorlevel 4 goto DOS4
  10.  
  11. rem  Default to DOS 3.x
  12. nxmsmem
  13. if errorlevel 7  xmsnet3.exe
  14. if not errorlevel 7 net3.exe
  15. goto CONT
  16.  
  17. :DOS4
  18. nxmsmem
  19. if errorlevel 7  xmsnet4.exe
  20. if not errorlevel 7 net4.exe
  21. goto CONT
  22.  
  23. :DOS5
  24. net5.exe
  25. goto CONT
  26.  
  27. :CONT
  28. cd\
  29. echo .
  30. if exist h:*.*         goto DRIVEH
  31. if exist h:\public\*.* goto DRIVEH
  32. if exist f:*.*         goto DRIVEF
  33. if exist f:\public\*.* goto DRIVEF
  34.  
  35. :ERROR
  36. echo .
  37. echo    It was not possible to load the network drivers.
  38. echo    Please reboot this work station to reset all drivers.
  39. echo    If this problem persists then please call xxx-xxxx to
  40. echo    report that you had problems logging onto the network.
  41. echo .
  42. goto EXIT
  43.  
  44. :DRIVEF
  45. echo    Remember to keep your passwords secure.  Do not distribute.
  46. echo    If a different Server denies you access then you must type
  47. echo    Server/Loginname  at the Login prompt.  ei:   VENUS/SMITH
  48. echo .
  49. echo .
  50. f:
  51. login %1
  52. goto EXIT
  53.  
  54. :DRIVEH
  55. echo    Remember to keep your passwords secure.  Do not distribute.
  56. echo    If a different Server denies you access then you must type
  57. echo    Server/Loginname  at the Login prompt.  ei:   VENUS/SMITH
  58. echo .
  59. echo .
  60. h:
  61. login %1
  62. :EXIT
  63.